package com._520it.crm.service;

import java.util.List;

import com._520it.crm.domain.Owner;

public interface IOwnerService {
	int deleteByPrimaryKey(Long id);

	int insert(Owner record);

	Owner selectByPrimaryKey(Long id);

	List<Owner> selectAll();

	int updateByPrimaryKey(Owner record);

    List<Owner> selectPage(int current, int size, String name, String nature, String papersType, String papersNum);

	int selectPageCount(String name, String nature, String papersType, String papersNum);
}
